From: Chong Yidong Date: Thu, 9 Aug 2012 08:16:13 +0000 (+0800) Subject: * lisp/vc/add-log.el (change-log-mode): Bind comment-start to nil. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~2326^2~1211 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=73e2bbc5a34fab14d7467fdfc61e9343ce6bf559;p=emacs.git * lisp/vc/add-log.el (change-log-mode): Bind comment-start to nil. This fixes M-q for Change Log entries which contain "(Bug#123)". --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c4d54f42cf7..2ff28eeb969 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,7 @@ 2012-08-09 Chong Yidong + * vc/add-log.el (change-log-mode): Bind comment-start to nil. + * descr-text.el (describe-char): Don't insert extra newlines (Bug#10127). diff --git a/lisp/vc/add-log.el b/lisp/vc/add-log.el index 9401ae07093..d6b94a9179f 100644 --- a/lisp/vc/add-log.el +++ b/lisp/vc/add-log.el @@ -1049,6 +1049,7 @@ Runs `change-log-mode-hook'. show-trailing-whitespace t) (set (make-local-variable 'fill-forward-paragraph-function) 'change-log-fill-forward-paragraph) + (set (make-local-variable 'comment-start) nil) ;; Make sure we call `change-log-indent' when filling. (set (make-local-variable 'fill-indent-according-to-mode) t) ;; Avoid that filling leaves behind a single "*" on a line.